package com.yangxd.hospital.mapper;

import com.yangxd.hospital.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangxd
 * @since 2021-04-24
 */
public interface RoleMapper extends BaseMapper<Role> {
    @Select("SELECT * FROM role where role_id = #{roleId}")
    Role selectByRoleId(Integer roleId);

}
